Q3MatrixTransform_New
You can use theQ3MatrixTransform_New
function to create a new matrix transform.
TQ3TransformObject Q3MatrixTransform_New ( const TQ3Matrix4x4 *matrix);
matrix
- On entry, a pointer to a 4-by-4 matrix that defines the desired new transform.
DESCRIPTION
TheQ3MatrixTransform_New
function returns, as its function result, a reference to a new transform object of typekQ3TransformTypeMatrix
using the data passed in thematrix
parameter. The data you pass in thematrix
parameter is copied into internal QuickDraw 3D data structures. If QuickDraw 3D cannot allocate memory for those structures,Q3MatrixTransform_New
returns the valueNULL
.It is your responsibility to ensure that the matrix specified by the
matrix
parameter is affine and invertible. QuickDraw 3D does not check for these qualities.